{template "content","header"}
  <div class="note"> <span> <a href="{siteurl($siteid)}/index.php?m=member&c=content&a=publish" target="_blank"><img src="{IMG_PATH}cust_ico.gif" align="absbottom"/> 会员投稿</a> <a href=""><img src="{IMG_PATH}tg_icon0.gif" align="absbottom"/> 投稿指南</a> </span> <b>站长资讯通告:</b>
    <script type="text/javascript">
document.write('<a href="{siteurl($siteid)}/index.php?m=member&c=content&a=publish" target="_blank">PHP开发网开放征稿，欢迎会员踊跃参与</a>');   
</script>
  </div>
  <div class="weizhi">
    <form name="search" id="search" method="GET" action="{APP_PATH}index.php">
      <span> <b>搜索:</b>
      <input type="hidden" name="app" value="search"/>
      <input type="hidden" name="controller" value="index"/>
      <input type="hidden" name="action" value="search"/>
      <input type="hidden" name="type" value="all"/>
      <input type="input" onfocus="this.value=(this.value=='全文检索')?'':this.value" onblur="this.value=(this.value=='')?'全文检索':this.value" name="wd" value="全文检索" class="searchtxt" />
      <input type="image" src="{IMG_PATH}topsearc.gif" value="检索" />
      </span>
    </form>
    <b>您的位置</b>: <a href="{siteurl($siteid)}">首页</a> > {catpos($catid)} 正文</div>
  <div class="ad ad-b-leaderboard">
    <script type="text/javascript">/*960*60，仅图片，创建于2011-8-23*/ var cpro_id = 'u584594';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
  </div>
  <div class="clearfix wrap layout-cols2">
    <div class="col1">
      <div id="news">
        <h1 class="article-heading">{$title}</h1>
        <div class="times"> <span class="article-published">{$inputtime}</span>  <span class="article-source">来源: PHP开发网</span> 阅读: <span id="hits" style="color:#f00;"></span> </div>
        <div class="content cont-detail fs-small" id="ctrlfscont">
          <p style="text-align:center;">广告位</p>
          <p>{$content}</p>
        </div>
        <div align="center">
          <div class="wumii-hook">
    <input type="hidden" name="wurl" value="{$url}" />
    <input type="hidden" name="wtitle" value="{$title}" />
</div>
<p style="display: none;">
    {loop $keywords $keyword}<a rel="tag">{$keyword}</a>{/loop}
</p>
<script>
    var wumiiSitePrefix = "{siteurl($siteid)}/";
</script>
        </div>
        <div class="text_tag"> <span class="jiathiswidget" id="ckepop">
	<a class="jiathis_button_qzone"></a>
	<a class="jiathis_button_tsina"></a>
	<a class="jiathis_button_tqq"></a>
	<a class="jiathis_button_renren"></a>
	<a class="jiathis_button_kaixin001"></a>
	<a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
	<a class="jiathis_counter_style"></a>
<script type="text/javascript" src="http://v2.jiathis.com/code/jia.js" charset="utf-8"></script>
<!-- JiaThis Button END --> </span>
          <h5 style="white-space:nowrap;">Tags：{loop $keywords $keyword}<a href="{APP_PATH}index.php?m=content&c=tag&catid={$catid}&tag={urlencode($keyword)}">{$keyword}</a> {/loop}</h5>
        </div>
        
        <div class="box_xg">
          <div class="title_xg">相关文章列表:</div>
          <ul>
		  {pc:content action="relation" relation="$relation" id="$id" catid="$catid" num="8" keywords="$rs[keywords]"}
              {if $data}
                        {loop $data $r}
            <li><a href="{$r[url]}" target="_blank">{$r[title]}</a></li>
                        {/loop}
              {/if}
          {/pc}
          </ul>
        </div>
      </div>
    </div>
    <div class="col2">
      <div class="right_box right_bot">
        <div class="right_title">热门排行</div>
        <ul class="articlelist">
		{pc:content action="hits" catid="$catid" num="10" order="views DESC" cache="3600"}
				{loop $data $r}
				<li><a href="{$r[url]}"{title_style($r[style])} class="title" title="{$r[title]}">{str_cut($r[title],34,'...')}</a></li>
				{/loop}
            {/pc}
        </ul>
      </div>
      <div class="ad right_box right_bot">
        250250广告位
      </div>
      
    </div>
  </div>

<script language="JavaScript" src="{APP_PATH}api.php?op=count&id={$id}&modelid={$modelid}"></script>
<script type="text/javascript">
    var wumiiParams = "&num=5&mode=3&pf=PHPCMS_{get_pc_version(1)}";
</script>
<script type="text/javascript" id="wumiiRelatedItems" src="http://widget.wumii.com/ext/relatedItemsWidget.htm"></script>
<a href="http://www.wumii.com/widget/relatedItems.htm" style="border:0;">
    <img src="http://static.wumii.com/images/pixel.png" alt="无觅相关文章插件，快速提升流量" style="border:0;padding:0;margin:0;" />
</a>
{template "content","footer"}